<?php if ($sf_request->hasErrors()): ?>

				
				<div align="center" id="errorline" style="width:100%;padding:10px;background-color:#FFFFCC;border-bottom:1px solid #E3E3B4;color:#2C2C2C;text-align:center;display:none">

					<center>
					<div style="width:100%;text-align:left;">
					<ul style="padding-top:3px;padding-bottom:0px;margin:0px;list-style-image: url(/images/icons/exclamation.png);">
				  <?php foreach ( $sf_request->getErrors() as $error) 
				    {
						echo '<li style="padding-top:0px;padding-bottom:5px;margin:0px">';
						echo '<span style="font-size:12px;">'.$error.'</span>';
						echo '</li>';


				    }?>
					</ul>
					</div>
					</center>
			</div>
			<script>

			$('errorline').hide();
		  new Effect.Appear('errorline'); 

			</script>
		
		
	<?php endif;?>


			
		<?php use_helper('Validation'); ?>
		
			<?php echo form_tag('post/new') ?> 



	<div style="width:900px;padding:10px;text-align:left;background-color:#DFDFDF">

<?php if ($sf_request->getParameter('type') == 'entrepreneur') { ?>

<span style="font-size:18px;color:#5f5f5f"><img src="/images/icons/lightbulb.png"> New job post: </span><br>


<?php }?>

<?php if ($sf_request->getParameter('type') == 'developer') { ?>

<span style="font-size:18px;color:#5f5f5f"><img src="/images/icons/lightbulb.png"> New looking for: </span><br>

<?php }?>
		

	</div>
<Br>

<span style="font-size:18px;color:#000"><img src="/images/icons/user_gray.png"> Title: </span><span style="font-size:18px;color:#5f5f5f"><?php echo input_tag('title', '','style="width:350px;"') ?> <small style="font-size:12px">(Short and sweet)</small></span><br>		

<span style="font-size:18px;color:#000"><img src="/images/icons/user_gray.png"> Description: </span><Br>


<span style="font-size:18px;color:#5f5f5f;padding-left:25px;"><?php echo textarea_tag('description', '', 'style="width:350px;height:70px;padding:3px;"') ?>
 <small style="font-size:12px">(Short and sweet)</small></span><br>		
	
		
<span style="font-size:18px;color:#000"><img src="/images/icons/vcard.png"> Position: </span><span style="font-size:18px;color:#5f5f5f"><?php echo input_tag('position', '') ?> <small style="font-size:12px">(Title in company)</small></span><br>
<span style="font-size:18px;color:#000"><img src="/images/icons/calendar_view_day.png"> Minimum Commitment: </span><span style="font-size:18px;color:#5f5f5f">

<?php echo select_tag('mincomit',
  '<option selected="selected" value="1m">1 month</option>
   <option value="2m">2 months</option>
   <option value="3m">3 months</option>
   <option value="6m">6 month</option>
   <option value="1y">1 year</option>
   <option value="2y">2 years</option>
	')
?>



 <small style="font-size:12px">(Minimum time to commit to job)</small></span><br>
<span style="font-size:18px;color:#000"><img src="/images/icons/money.png"> Basic Salary: </span><span style="font-size:18px;color:#5f5f5f"><?php echo input_tag('salary', '') ?> <small style="font-size:12px">(How much doe? state currency)</small></span><br>
<span style="font-size:18px;color:#000"><img src="/images/icons/calendar_view_month.png"> Founded: </span><span style="font-size:18px;color:#5f5f5f"><?php echo input_tag('founded', '') ?> <small style="font-size:12px">(Founded when?)</small>
</span><br>
<span style="font-size:18px;color:#000"><img src="/images/icons/user_suit.png"> Founders: </span><span style="font-size:18px;color:#5f5f5f"><?php echo input_tag('founders', '') ?> <small style="font-size:12px">(Who are the founders? Linkedin url or just name)</small>
</span><br>
<span style="font-size:18px;color:#000"><img src="/images/icons/text_letter_omega.png"> Stage: </span><span style="font-size:18px;color:#5f5f5f"><?php echo input_tag('stage', '') ?> <small style="font-size:12px">(Alpha, Beta, Gamma?)</small>
</span><br>
<span style="font-size:18px;color:#000"><img src="/images/icons/world_link.png"> Url: </span><span style="font-size:18px;color:#5f5f5f"><?php echo input_tag('url', '') ?> <small style="font-size:12px">(Anything to show?)</small>
</span><br>
<span style="font-size:18px;color:#000"><img src="/images/icons/world.png"> Work from: </span><span style="font-size:18px;color:#5f5f5f"><?php echo input_tag('workfrom', '') ?> <small style="font-size:12px">(Work from office? Home?)</small>
</span><br>
<span style="font-size:18px;color:#000"><img src="/images/icons/chart_pie.png"> Company Equity: </span><span style="font-size:18px;color:#5f5f5f"><?php echo input_tag('equity', '') ?> <small style="font-size:12px">(In percentage or number of options)</small>
</span><br>



<span style="font-size:18px;color:#000"><img src="/images/icons/key.png"> Show Author details: </span><span style="font-size:18px;color:#5f5f5f">

<?php echo select_tag('privacy',
  '<option selected="selected" value="0">Yes</option>
   <option value="1">No</option>
	')
?>


<small style="font-size:12px">(Hide your author details or not?)</small></span> <br>

<span style="font-size:18px;color:#000"><img src="/images/icons/tag_red.png"> Tags: </span><span style="font-size:18px;color:#5f5f5f"><?php echo input_tag('tags', '','style="width:350px;"') ?> <small style="font-size:12px">(Tag your post for location, technology, language and so on. Separated by commas.)</small></span><br>	


<?php echo input_hidden_tag('referer', $sf_request->getAttribute('referer')) ?>
<?php echo input_hidden_tag('type', $sf_request->getParameter('type')) ?>

		<Br>

		


	<div style="width:900px;padding:10px;text-align:left;background-color:#DFDFDF">


		
<?php echo submit_tag('Post it!') ?>

	</div>




		
	</form>